Created the Sender class and the general packet structure