Refactors as module; adds Games class