adding a configuration file and removing all ip/port constants spreaded into the project