Made some slight changes to the logging and added a Makefile.