refactors grunt setup to separate class