added a few new methods and refactored response creation into a helper class.
- i would like to make it possible to return errors messages in the response body, but i don't think spring is going to make that easy to do
- right now they are being returned as headers which is really not going to work at all