Restructured and added simplified bootstrapper for plugins.

Added test for the EventsBootstrapper.