Fixed plugin import

Now plugins works as they should. Only needs a method for sending
messages back to the server