Renamed Model and View classes. Made QSqlQuery objects created with direct connection to the opened database.