started on config refactoring to support letting mods add their own tree definitions