Make base DB structure