fix deprecation warnings

* require `guard/plugin`
* inherit from `Plugin`
* fix `initialize` message

fixes #19