Added Makefile and removed warnings