command_line - added a simple command line interface based on gnu readline