Working version upto adding and editing notes