adds DB structure