Resolved few errors caused by relationships

Also, 'user' name is reserved in postgres, changed User to ImodUser
domain class.
Deleted files that aren't required