refactor Connection to not use BaconBuffer
break classes into modules