made a applicationresponse class tto deal with being a anti-corruption layer along with type enum for responses