Changed database to SQLite