refactoring grunt tasks into tasks/ folder.