added notes, finished api for notes / tokens, allows registration thru api