Fix MediaType variable ordering.
Add Media component to build system.