Added logger class, and cleaned output
Added code commented out for changing connections