separated the code of the server for development.
add a settings.go for setting items.