Updated Makefile to automatically add version number, made small changes to source