Added a model for the ui and modified the method of Class/Plugin Filter