created the skeleton of dbmodel