Feature/convert to guzzle

amended the api library to use guzzle in pulling in stuff from the programmes plant