code refactoring, variables deletions, alignment on the 0-1-2 model
Changes the simulation algorithm and storing system