Added methods to the note class.

Getters and setter methods have been added to the note class.