Remove unsed file
Added host,port config to connection function