Fully refactored all plug-ins.
Implement resume functionality. Not yet working though.