additional theme engine refactors
passed config object to theme and removed some unused/unnecessary class variables