Refactor mobile publisher

This pull request refactor the design of the mobile publisher a little bit.