some init cleanup, added index.php comments