added common.c controller.h Makefile