add style.css and code optimization