Created refactoring branch, switching to argparse
" "
Refactored all opts code to use argparse module
Some doc changes