Added Makefile
Improved Error messages