refs #18 add connection wrapper