A tutorial for marionette in mobile context