Made index.xml valid, simplifed CSS, some code refactor