added a grid model in nodejs