Initial refactoring of tickets. Adds listing request.