code: public static void init(final CertManAPI cmAPI) throws Exception {
  		// Check for Created Certificate Authorities in TRANS
  		sCertAuth = ((TransStore) cmAPI.env).slot(CERT_AUTH);
  		
  		////////
  		// Overall APIs
  		///////
  		cmAPI.route(HttpMethods.PUT,"/cert/:ca",API.CERT_REQ,new Code(cmAPI,"Request Certificate") {
  			@Override
  			public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {
  				String key = pathParam(req, ":ca");
  				CA ca;
  				if((ca = cmAPI.getCA(key))==null) {
  					context.error(trans,resp,Result.ERR_BadData,"CA %s is not supported",key);
  				} else {
  					trans.put(sCertAuth, ca);
  					
  					Result<Void> r = context.requestCert(trans, req, resp, req.getParameter("withTrust")!=null);
  					if(r.isOK()) {
  						resp.setStatus(HttpStatus.OK_200);
  					} else {
  						context.error(trans,resp,r);
  					}
  				}
  			}
  		});
  		
  		/**
  		 * 
  		 */
  		cmAPI.route(HttpMethods.GET, "/cert/may/:perm", API.VOID, new Code(cmAPI,"Check Permission") {
  			@Override
  			public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {
  				Result<Void> r = context.check(trans, resp, pathParam(req,"perm"));
  				if(r.isOK()) {
  					resp.setStatus(HttpStatus.OK_200);
  				} else {
  					trans.checkpoint(r.errorString());
  					context.error(trans,resp,Result.err(Result.ERR_Denied,"%s does not have Permission.",trans.user()));
  				}
  			}
  		});
  
  	}
docs: Normal Init level APIs
  
  @param cmAPI
  @param facade
  @throws Exception