Use a cleaner YAML instead of a PHP file for configuration

This change required that the web root be moved to a separate `web` folder that now includes an index.php and a dev.php file to switch between environments