added BitField helper class