Added basic EntityManager Functionality