Added osx makefile and daemon skeleton.