remove the +x from the __init__
move all module level constants to constants.py
remove unused import
move checksum tests to own module