Mod Chooser move.

Moved code for mod chooser to mod.common.