Refactor initEnvironment method into jgrith
Refactoring: options for Resources