Optimized and cleaned up the code a bit.
Added module documentation for the Game module.