Refactored notesFactory into new file called notes_factory_module.js
Moved allNotesScope to sync with notes_factory_module