For CLI, allow base to be specified.
Restored missing variable declaration.
Merge pull request #34 from sideshowbarker/cliBaseArg

For CLI, allow base to be specified.