Refactor analyze functions

-analyzeDescription and analyzeSubject now get ticket data by themselves