Added Engine.getConfig(key), Engine.getResourceLoader(); Removed Engine.setResourceLoader(loader).
A better to inject servletContext