initial makefile and serviced ref update