implemented ObjectManager as entity manager
removed usage of sqli for testing