Update main.php

Added PluginBase implements Listener{