Added a lot of documentation. Also added environment variables from forcedEnvironmentVariables