Adding SHA1 hashgenerator as seperate class