added TicketRepository
added findBy method in TicketManager