am 2ec448a2: am 58ef2c38: am fd6d06a1: mrp sample: refactor and use helper class

* commit '2ec448a255367440b3dfad6fa6760acfb4c8e82b':
  mrp sample: refactor and use helper class