Added class, added first implementation of sockets