added grid directory and some templates