Changed notes.
It's now possible to clear data in the example.
Moved functionality to module instead of anonymous functions.