Started fixing the network class
Added namespace to main socket on server