initial commit of new plugin: relate media to posts