add path validation, implement dynamic loading of note templates