Modified Board class constructor