Moved improved hashing functions to its own class
Created class for improved hashing function