added yard documentation and implemented multi-environment in the webservice client