add modify detector

Don't reload server if config not change. And rename some variable to fit C# code style.