Added input method and Game handler class