load environment config directly from factory
proper way of checking if a resource exists with a specific scope
rename a couple of legacy exception class files, not conforming to autoload standard