More support for configuring server

support for changing base folder for server's root folder
enable to change the variables while the program is running (but only if server is stopped)