bunch of additions to the plugin framework

Added classes to handle json config file.