I will implement a bitfield type in due course, together with use of it that makes it obvious how to do so. But I won't be implementing myself the stuff in the modules you cite. I will only provide (lots of) assistance. If you're not willing to do that, it's deeply unlikely to happen.