Ticket class is moved to separate file