refactor content manager class