Revised the command line interface.

- Revised the command line interface to now use the 'commander' module.
- Added validation for the selected mode.
- Bumped version to v0.2.7.