Improve clean gulp task and refactor.