Classical W-Algebras and Generalized Drinfeld-Sokolov Bi-Hamiltonian Systems Within the Theory of Poisson Vertex Algebras