Revert "Revert "moved out some methods to gamemode.java""

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

This reverts commit 867bd0e737504e7681d1813db08e2ca7b7aa8019.
Revert "Revert "Revert "started to move the methods out."""

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

This reverts commit 05638771d3e00b17ca81ecb5151f2805d06740c5.
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.