start implementing the Network Server
remove function that is not used