refactoring stylesheets system