Changed the database design and altered some of the models.