some network implementation; makefile changes