put controller in seperate file