extract brewery and beer avg rating to a mixin
load lib files
make use of the RatingAverage mixin