Code from the Beanify project at HackNotts 2019. Used to generate the model used by https://github.com/onfe/beanify