Moved DB creation to main node script