added basic functionality node socket server