Convert boardValueWrapper to class from struct