change make server target to publicserver and rename it to server