Replace index.php with a controller

@LukasReschke 
Use URLGenerator?