refactored interface for plugin, deleted a bunch of code.
3.0.2