Added makefile
added stuff
added server thread