Programming Cloud Services for Handheld Systems