added docstrings to api funcs, renamed 'add' to 'insert', 'insert' and 'delete' accept either a pk or Note obj