rename connection to writer
rename for connection
clean up
add Txn object with session