Automated some of the example work

Built a class and automated the inputs. I need to figure out how to
access different instances of the class when i do it like this as I'm
not in IRB.