Phase I. Added cmd line usage and logging, converted tabs to PEP8 4-space.
Phase I. Added cmd line usage and logging, converted tabs to PEP8 4-space.