shifted from repl to linenoise with basic model