cleaned linspector ,refactored command-line parsing, and fixed the Logger