Added a dev/ folder which will hold all the needed files for local development.
Added an if check that allows the built-in PHP server to serve existing files directly. On a server it's handled by nginx, purely for ease of development.