added index.php
added __construct()