Fixed main.php, added modules index