further refactoring of content types. created contentTypes folder and added json and xml files to respond to those content types. updated represent to map contentTypes to the files