More index.php removal and db load