add makefile and sample client