Create controller.cpp