Better structure for loading in scene.

1. Loading a file is now an explict function call.
2. Also fixed bug with scenes not storing the pointer to the core.
Updated simulator to the latest runtime API.