work on db

moving to QSqlTableModel