server skeleton added, makefile refactored