Added  plugin framework files

Need more testing of framework