added SQLite implementation for mottos