Moved the base class for mapped objects.
Refactored the resource managers.