added document class, changed storing location for paperclip, added notes to notifications