Adapted EntityManager

EntityManager was adapted so that it should provide a namespace for the
entities and implement a configure method