Refactor stylesheets into the module system