Fixed major errors, the socket interface is now actually an interface. Also creating sockets for the callback and replace actions