Added methods to serialize Board object