Adds response class

fixed: see syntax branch