More work on plugin framework

Signed-off-by: Chris Sanders <zidane@outlook.com>