Refactor TDD note organization