fix index.php
fix config.php
fix router
add main controller and fix router