added some basic classes for the plugin api