modified the theme engine to leverage the new Config object
additional theme engine refactors
passed config object to theme and removed some unused/unnecessary class variables
removed some debug statements and updated header