Created helper files to create packets. Also updated the existing packet creation to use these helper functions.