refactored booking class adding a data structure for the incoming booking.