Added require yaml to fix tests
Changed using config files to using environment variables
Changed to using HMAC for security reasons