clean code
add local server settings