major refactor of gulp tasks