Basic save state functionality, no loading.

Yes it is generated, but only because it makes it easier than doing by hand. It's not the same as source -> build. This is kinda more like source.