Made the user info maps use the object instance as key

Not sure why I changed this in the first place. Shouldn't be any issues.
Setup maven modules to separate core from library.