Added Plugin class and updated pom.xml
API is now able to be loaded as a Plugin and other Plugins can depend on the API.