move function into util
remove compiled archiver from repo
add connection pooling