Changes from mySQLLite to SQLiteController. Implementation of delete
function.