PHOENIX-MR

Hi Gabriel,
   This is a new pull request for MR support in Phoenix. Can you please review it.