Tided up controller files
Altered Index action