refactoring cms view helpers. simplifying tests. breaking changes