Draft code for loading scenes from file. Really unstable.