Refactor Gruntfile and ressources