Move related code closer together
Add SectionManager.get_or_create_with_parents(...)
Switch script to use new method
Refactor for clarity