Classification of codepth 3 local rings based on multiplication in homology