add easydb prepare and disconnect methods