command line interface specs

rspec 3.0 for stdout expectations
standardize public interface for ais