Add HashSmaple class and spec