Moved plugin API class file to new directory. Added API methods for making a request to the Buffer API and validating a user's credentials.