Adding an abstract class to handle EntityManager.
Still has problem lazy loading collections.
Fixed lazy loading orders on client object.