refactoring the css and adding new views