Add a first pass as CLS/CXM environment variables.

These two are mostly copies of existing setup. We have a bunch of comments for things we want to work on after we've seen this working. Each one is going to require a little bit of code and I don't want to try and do it all at once.