Bring SQLite into the tasks system

Avoid the use of a mysql database and rely solely on SQLite.