moved things into utils folder
encapsulted serverside socket interaction into transport layer