Updated app.pl to fix minor bugs, removed unused nginx.conf