fixing models a little and changed some things

changed the models around a little bit and fixed the relationship from going the wrong direction