refactor parser to have an explicit load section method