Move from web.py to Flask.