added basic grid code and demo