added vsync option
fixed duplicate names class object