Updated help command
Moved hash function to separate class