partially bebugged and written notebook class. pid data dict created and printing