Move VideoMode into a separate file