use module for main class
factor styles into a class
factor styles into a class
docs