Added configuration flags to CLI interface.

Fixes #1