Refactor manage-specs for multiple apps