classes core to my implementation of a restful client