Introduce StyleManager class to keep everything in one place