create apps as a stack of functions and routes