Add skeletal client and api.AddKnownTypes method

Is RESTClient not an interface?  define one up above that has only the methods you intend to call