flatten server directory to root