CMS-736 Introduce CRUD API for Relationship
Moved BaseType classes one folder up.