updated grid module so that DOM changes make updates to models, which then are listened to by view and subsequently rendered