move hash word module to base package