Added some output
Implemented relation setting stuff