Sqlite3 setup with some analytics