Added Makefile, bug fixes