add postgresql support
add readme and license
add test
remove print
fliter empty strings