Add socket class, initialize proper objects