add into a class and try to load plugins