refactored out an appResolve and individual routing strategy