create theme and department entities