Added ability to use a separate entity manager

So translations can be collaborated on.

I changed some code formatting in the files I touched. Sorry, I have code formatting ocd :)