Made xhash implementation details private

and removed unused dirty flag from xhash structure.
Module skeleton