Adds Notes dictionary.
Refactoring code.