added grid part(initial commit).