work on App#run + refactor /apps (and it's nested resources)

501 == resource not yet implemented. Most of this should later be
converted into a "resources :gears, only: [:index, :create]", as
soon as I can decide what a neat way to handle common functionality
would be