Core UI and API specification for xray: the missing link between the browser and your app code