- implement delimited write
- database connection logics