use a common render function and store a collection of controllers in app