use argparse instead of optparse

see #6