Made logger optional, switched to psr null logger. Fixed psr2 coding style issues
Fix psr2 coding style issues
Swap out curl calls with Guzzle library