Add command-line interface without UI and Bugfix

- Add user-friendly command-line interfaces with multiple options. The
command line interface can be used without UI.
- Fix Driver Bug