moved Cli interface to Cli.hs