Extracted multiple media input functionalities and put them in a new module 'media-input'