Added beer API. Relates to #24