add right click handling; implement grid class for later use