basic base58 handling.
move lib/* into src/*