refactory for Reference files + Gruntfile update