Cleaned up some imports, also cleaned up some of the output. Refactoring of thread parser so that it is included in the abastract class