[WIP] Complete refactoring using Guzzle.