[code] setup entityManager and add to Dependency Injection Container to Slim App