Added classes for parsing/handling responses along with a test.