Sqlite Read/Write implemented