fix npe with null columns
rewrite command line parsing
rewrite REPL, support redirection/pipe
todo list