Changed some of the design of keyword hash. All of its code is not in a header file.