improve code, psr2 and implements log request and response
Merge pull request #8 from RocketBus/improvements

improve code, psr2 and implements log request and response