initialize note with parent task object, move note attributes to constant