cleaned up version of LogGatherer class. looks beautiful now.
also added a short test of its abilities in Main.