implemented a simple hashing algorithm for types. fixed a couple of bugs.
implemented a simple hashing algorithm for types. fixed a couple of bugs.

mario-campos/clay,jckarter/clay,jckarter/clay,aep/clay,jckarter/clay,jckarter/clay,iamrekcah/clay,aep/clay,aep/clay,aep/clay,jckarter/clay,aep/clay,iamrekcah/clay,mario-campos/clay,jckarter/clay,mario-campos/clay,mario-campos/clay,iamrekcah/clay,aep/clay,mario-campos/clay,iamrekcah/clay,iamrekcah/clay