added Notebook class for creating IPython notebooks, better name for main object variable