Created asynchronous db import to speed up the process. However this
seems to have db lock issue, while overritting. This will be corrected
in the subsequent commits.