Refactored command line code to use argparse.
Set some defaults for instance attributes used outside of __init__() to make them explicit.
Changes per pylint.
Removed redundant logger and config setup.
Removed unused constant.
Moved config object into the main function.
Changed authenticate method to handle the new arguments
git push origin masterMerge branch 'w0uld-argparse'