began adding code for sqlite database access from flask tutorial