remove nonworking connection code
switch to CFFI