Refactored BuildRoomData method and created methods used to populate the byte data