Added MD5 hashing scheme. Refactored code to allow for more hashing types.