Fix up config. Remove older cruft.
Remove shortenUrl since its not needed. cleanup b64decode a little.