code: protected void initContext() {
          context = createContext();
          SmartFoxContext sfsContext = (SmartFoxContext)context;
          sfsContext.setApi(getApi());
          sfsContext.setExtension(this);
      }
docs: Initialize application context