separate Base58 from Base58Check, add decoding, add unit tests