Added all the models that correspond to database tables. Got everything
configured so the db works finally.