Moved NotesController to NotesDomain