conversion to database

This update converts us over to an sqlite3 database