Update index.php

Add helper class.