CSPACE-6273: Pull out user portion of cspace_environment module into its own module.