Defined MappingABC class
Moved NestedType to types module
Moved Roles to roles module