flashify and refactor the sendcheckreply & parsing code (half done)