Update index.php

Require once on core files, to stop redeclare when composer has already done so.
Merge pull request #141 from outrunthewolf/patch-1

Update index.php