Added create root/non-root sections logic, buttons.