CMS-953 Create initial framework for indexing content

Lots of refactoring. Initial account and content - indexing 2.0