sent to Steve for initial review of approach

Mainly added command line parameters