Few game related variables added, event handling function frame created