Move core beer handling to a library
Add simple tests for StarRating. Fix bug in compareTo implementation