create initial database structure