rvi videomodule refactoring