added Greg's object oriented ipython notebook