Rewrite the Python web framework Flask's demos with the peewee and mysql