Plugin migration - calling services help
I can't answer the question fully without seeing your plugin code, but I'd suggest you generate your plugin scaffolding with pluginfactory.io to see how it all fits together.

It's also helpful to look at a existing plugin that works; here's one I wrote that's pretty simple, and should be easy to follow: FastCGI Cache Bust

Roughly, you'd do something like:

PluginClass::getInstance()-&gt;serviceName-&gt;methodName();


Or if you do it the pluginfactory.io way:

PluginClass::$plugin-&gt;serviceName-&gt;methodName();