re-organized and optimized, separating the ApiRequestManager from the ResourceImpl classes
working statsresource call