Re-factors Gruntfile configurations

Signed-off-by: hegdeashwin <ashwin.hegde3@gmail.com>