An extended Wichura theorem, definitions of Donsker class, and weighted empirical distributions