Added public static method getControllerActions().
Added change of dir to getControllerActions() method.