package refactoring

-- notes and attachments earned their own packages