modified the theme engine to leverage the new Config object