Moved rest methods into seperate trait
Added initial support for outputing objects
Added names for all object stuff in DB
Added initial support for describing relations