add dedicated and tested service for grid
refactor grid tests
refactor gridService
refactor gridService