Pass Application instance to action controller