Adding db structure