formatted, changed to using guzzle and added composer info.
refactored.
refactored.