refactor CBCC page view into extension