Added class docs
Tidied EntityManager