Started coding the socket class