put controller in separate file