refactor gulp file, add settings override support