Add bitvector class.
Take a first stab at the new interface.