Added simple console interface.