refactor delagation of resource commands and formatting to the App class