improvements and refactoring of media submissions. Allows audio submissions