add some comments, group related code
add some comments, group related code

MikeDawg/cipherscan,MikeDawg/cipherscan,jvehent/cipherscan,MikeDawg/cipherscan,PeterMosmans/cipherscan,PeterMosmans/cipherscan,jvehent/cipherscan,PeterMosmans/cipherscan,jvehent/cipherscan