typo fix
rewrote base64 encoding
prepareAndSendFromDictionary method for easy configuration