added global variables
in main a game class will be made