first commit

types added
bitfield counter added