Refactor extraInfoExtractor: introduce case class to hold the data