Implemented preliminary Entity Manager

Deals with loading, eager loading and batch saving