refactored responses to use text and file body classes
added body tests
added partial file response
Merge pull request #4 from kevinbuch/refactor

Refactor