Adding bitcore stuff.
merged.