Move away from urls and all Flask-related concepts to a more generic library.