[plugin] Gutted plugin code; starting fresh.
[test] Updated plugin and library code.