Added a symlink to the gen-py folder, also working on saving state.