Added relationships
Added relation constructors
added service and main method