added proper licensing info (MIT license)
improvements to the makefile