Updated HashTool

Added features, done some more testing.
Removed unnecessary code.