* Implemented an AsyncTask mechanism for the SQL queries, currently only insert and update can be ran in tasks.