Refactored the code to support Hash commands. Added all Hash commands except HSCAN.