Moved DBsql class to seperate repo