Added game class and action listener class

currently not working