Ported SQL code to Qt
Ran qt-creators auto identation
Fixed issues after migration to QtSql
Added Qt dependency in cmake
Fixed SQL injection