replace Base64 for Sha
cleanups
add github support