Moved orm mappings to config