Implement simple flask app with MySQL