core: add DatabaseStorage, SQLiteHelper