Added some basic fremwork files and added code for plugin loading functi...

...ons.