add proper Grid implementation and grid snapping
grid drawing is done in the View now