Updated REST library to conform with our API standards