Move grid templates to files