refactor all css and html