Refactor: Make plugins into classes.
Refacter: Make plugins into classes #2