This commit removes certain file-based functions from 'pkg/environment', continuing the migration to entirely remove the package.
This commit updates the configuration to be yaml-based and updates the configuration to read in a yaml file.