Completely refactoring where notes are stored