add readline for command line wallet