refactored as flaskr app, and included bootstrap cutup, which is not yet implemented.