move controllers to seperate file