Implemented initial infrastructure

Based on the Flask tutorial, I set up the
sqlite initialization and connection infrastructure.