Updated plugin system and _sample_plugin.py example