Added classes for Hash implementation