don't need a connection class anymore. can configure connection with a block