Added real initialisation function, that allows configuring ip and port for the manager server.