deletation of unnecessary classes and added vsync to VideoMode