added makefile and sample file moved into server directory