add plugin system to theme