init makefile and changes to clinet