Fixed some structuring stuff, add Guzzle as HTTP facade and improve tests.
Fix dependencies.