Added basic Grid class.