add class folder and search class
 rewrite as class
update