split up fat main script, more Grunt