Added simple command-line interface.