Improved simulation loading time

Created v0.4 file format including links between items so as
not to recompute them during file loading.