First commit.

For now, this stub only reads the command-line parameters and performs a
basic sanity check on them.