shell abstraction
simple console shell
shell()() now returns int