Big code refactoring to use a more object approach with videos.