Added inline documentation for the EntityManager. Fixed small issues.
Added a subscribeTo method to Contact. Added a test.
Added inline documentation for the rest of the files.