Relations refactor
Move objTypes.js and relations.js to server/logic folder