Closes #17. EntityManager is now injected to AbstractCacheWrapper