Fixed beer class initialization issues
Merge pull request #39 from SunJieMing/master

Fixed beer class initialization issues