fixing models a little and changed some things
Merge pull request #1 from J-Katzen/API_endpoints

fixing models a little and changed some things