Clean up game initialization code

I reorganized the initial includes and declarations.