A rest api adapter for appcelerator alloy that has built in caching