added basic sqlite3 code for later work