extract response
bug fixes
fixed spelling mistakes
Merge pull request #64 from nemrow/refactor

Refactor