moved WSUAPI into simple Flask app