- separated signal handling and forking out to common.c file
- common.c is to be used for both monitor and controller
- added header file for each C file
- updated Makefile to use compile the common portion,
- Makefile now compiles intermediary object files in a temp folder
- updated Xcode project to check for some extra C errors