Added main.css and cleaned code