Revert "Ported gameObject and cleaned the preload code"

This reverts commit 3a0cd537e6bb1c1017c5b421f95c72e1b867d4cb.