This commit completely removes the environment struct as it is no longer used.
This commit updates the configuration to be yaml-based and updates the configuration to read in a yaml file.