fixed complie warnings, made a basic Makefile, added poor-mans specing
merge from pull