io: Avoid separate set_bit & clean_bit functions.
driver: Implemenet most of driver functionality and tests.