change getopts to argparse in createContract.py