Generalized DrinfePd-Sokolov Hierarchies