Implemented SQLite backend, first version