@Override
  public void onCreate() {
    super.onCreate();

    instance = this;
    Esperandro.setSerializer(new FastJsonSerial());
    ControlFactory.init(this);
    FrescoUtil.init(this);
    CrashHandler.getInstance().init(this);
    PluginHelper.getInstance().applicationOnCreate(getBaseContext());
  }
 @Override
 public void onTerminate() {
   super.onTerminate();
   FrescoUtil.clearCaches();
 }
 @Override
 public void onLowMemory() {
   super.onLowMemory();
   FrescoUtil.clearMemory();
 }