Added flask app to run unit tests