added EntityManager.createEntity + updated api docs.