Move persistent data to make it easier to upgrade

This makes it so that when I upgrade nexus, I don't have to manually copy the persistent data from versions to version. Instead it patches nexus to store that data in the var directory.