Moved Model_Notebook class to its own module.
Change model calculation to use the map() function.