Made server return 404 when trying to access the file system when not in Debug mode. Some minor http handler restructuring