Major refactoring and addition of videoCompositor.