Code for the Styles and Themes class