changed makefiles for the shared objects
implemented the plugin interface