refactor the gulpfile to support serial tasks