add net

basic sever functions for HW3