refactor parameters with VSTParameter class and polymorphism