Changed all cpp to .c files & fixed issues
Changed to drawScene way