Updating application to use RyanJ's flask-base