Convert to simple argparse

Change-Id: Iaa5238e62ef46e4e6f70b719c69ce925298ac65d
fix flake8

Change-Id: I1f5a8d8cabba7e4cf42a7d0fa4de9cd27040c631