Initial grid implementation