Implementing the note demo application