refactored Ticket::initialize and added travis config