Flask server for Amigo