Decoupling of main.go and game manager code.