Gridproperties

Added simple handling of grid properties. Currently no box or anything.