Cleans up some debugging code
Adds note plugin
Adds tests for note plugin