Refactors the code to be a bit cleaner. Splits different trimmer code into classes with an overall builder to construct the one requested when the progam is run.
Adds matrix trimmers to compare the input stream to a specified matrix