Rewrite API using the flask framework.