Updated files to use constants for the MediaTypes