Moved models into main app, since there are dependencies between them. They need to be in the right order in order to compile correctly. (Making them interdependent but in different apps does not work in django.)