global debug variable set
code refactored
code refactored
code refactored
code refactored
NoteFactory created
NoteFactory refactored