duplicated index file and updated

First attempt at updating index file to new design. will need some work
and tweaking, new classes etc