Refactoring the actual parsing code heavily so that parsing of individual configs is done in separate classes.