Refactor Board class to use Struct