implement plugin with appdomain