Addded all models and tables and switched over to postresql