Break out Hari's LoggingApp into distinct file.
Break out Hari's StatCollector into new file; TODO: nuke global vars.