added basic relationship model, some entity methods related to relationships
forgot to remove pry