Added initial code for the plugin framework.