Created structs for the data types. Added type information. Returning a response that contains the appropriate structs now