Fully converted to Flask webapp.