issue #20614: lots of work to do here
Merge pull request #535 from shackbarth/20524-builddb

issue #20524: database builder
issue #20614: resolve path issues
issue #20614: added table and sql function
issue #20614: don't insert twice
issue #20614: cleanup
Merge branch 'master' into 20614-buildclient
issue #20614: async for sync