Sqlite3 initial code.
Log to file (broken but is there)