Added makefile to control testing and publishing