Minor syntax clean up
Added getters and setters to note controller to improve modularization if data structure changes in the future