Refactor gulp configuration