Added RestUtility class to encapsulate api calls