Media entity plugin

Would it make sense for this to live in a sub-module? It is not core, people could opt-in, ...