Create plugin.py

The plugin class.