Implemented basic theming infrastructure