Added publishing and refactored MD5 parsing and handling