refactored RequestUtility class