example showing how to use the appium java client for local and cloud usage including the page object pattern