Adding a Board class and input parser.