Refactoring added Board class and DiceBoard subclass.