move whenSceneisReady functions bodies in trek and dem objects