creates beer model