chore(gulpfile): update gulpfile with valid use case code. minor refactors