added dest_server to go.yml file and some refactoring