add readme and custom db query
add unit test