Coded some SQLite db prototypes