Add plugins system
Simplify code by removing r_name and r_refresh classes
Simplify plugin system