Use Sqlite instead of MySQL; few other changes from hangout