Better looping + storing of pathInfo data; better notes object