The theory of compact vector fields and some of its applications to topology of functional spaces (I)