Update notes for submitted changes

* Refactor into a main() function