Added GridModel class and made delegate for communicating button presses to ViewController