Removing deprecated code
Merging pure code from util, crypto, protocol, script and wallet back into this module