Ported gameObject and cleaned the preload code

( gameObject still needs to be tested)