added as-yet-unused Game struct
comments and logging tweaks in io.go
moved game loop out of main()