Add main index generation and update CSS