General Cleanup and Argparse switch

Use argparse for command line
Convert command line to console_scripts entry_point
PEP8 everything