Command line mode

Opening new PR to replace #71
@davidfowl @abnanda1 
nit: you could use `.Aggregate` instead of the `Select`/`Sum` pair