refactored stylesheets and views