command line refactored using argparse. version moved to setup.py