Dependency detection for main.cpp in makefile
Sketched out a little more of the integration code