refactor code to use content class instead of site
refactor code to use content class instead of site