Refactored to federation of apps, broken