made int main cleaner, game loop can now be organized for the game itself since the animation is now before the loop