I have put the sample code online at https://github.com/maartenba/BrewBuddy