Factoids now are saved in an SQLite database + some cleanups