Added /addnote, /addgnote and /delnote commands.

Please excuse all the unneeded commits - I was trying a new IDE and it was being a pain.