A complete-ish sketch of how the init env should work.