added sockets and got them working, need to get comms class working