Re-coded config class to better handle multiple subsection conditionals.