Split notes and noteResource
Missing files in previous commit
Refactor notes service
Refactor to use new Note class.