dbConnection updated and renamed

Renamed dbConnection to SQLiteDatabase. Added some new functions etc.