Created models and updated sql info