mrp sample: refactor and use helper class

Bug: 10955351

Change-Id: Ib607d27bc93a35460c6acd295d29afad3f255e25
10 files changed