Refactoring the Video/Images Export module