Integrate more with the framework in general.

When a plugin is started it uses the PluginController which will set the needed information for the activation hook.