Genericize calling controllers from the app