Updated project to use entity manager for queries. To do:

- Complete methods for all queries defined