set up sqlite3 database and start building API