am fd6d06a1: mrp sample: refactor and use helper class

* commit 'fd6d06a19ce06d0f3e4fa8c58c283be2f07aabfc':
  mrp sample: refactor and use helper class