Refactoring one controller to external file