Added a Factory to the ResponseMessage class