add file controller.c