Add database structure