add gulp task for references
tweak for jshint
working on destroying hierarchy