SQLite db schema
Read and write from SQLite db