add essential parts of a cerif api client implementation for the purposes of the g4he project.  Very scrappy, do not use unless you are us