Added BasePlugin

Makes it easy for new plugin creation.