refactored cli: using ArgParse instead of OptionParser
removed unused imports in cli.py