Revert "started to move the methods out."

This reverts commit a01da3ed51cb142444640d9da79ee6d29ce1c7ba.
Revert "moved out some methods to gamemode.java"

This reverts commit 8ec8de385b95efe59c435f20deaf464aea0bd380.
Revert "Revert "moved out some methods to gamemode.java""

This reverts commit 0bb6fa4dcd671adcc46783fc8345ff45512f261c.
Revert "Revert "started to move the methods out.""

This reverts commit 179f99a496cb408c474bf6ea9852d647c10af8ce.
Revert "started to move the methods out."

This reverts commit a01da3ed51cb142444640d9da79ee6d29ce1c7ba.
Revert "moved out some methods to gamemode.java"

This reverts commit 8ec8de385b95efe59c435f20deaf464aea0bd380.