Adding index.php will preliminary slim framework code
Modifications to .htaccess to remove index.php from the URL and adding a trailing slash if not present