Added experimental code to load environment from file.

(Unix) Does not seem to be able to create the config folder, though.

TODO: Save the environment to file.