added api wrapper for brewerydb