changes to actually compile, including addition of Makefile