Marika database implementation to SQLite