Removed not need coded and updated to connect 3.0
Added logger object