Change the web microframework from Bottle to Flask