Tech Debt: modularized grunt file

Cleaning up the grunt file to make the api more clear.