added main class which will contain game loop