Implemented pre_account, major refoactoring of hashing flow