move the MatchResult class to its own module.
readme