Refactor

 - General cleanup of code.
 - Rename shasign and sha_signature methods to signature