add the beginning of what will become the main source file, and add some rules to the Makefile