Domain classes and web service controllers for index definitions.

Domain classes and web service controllers for index definitions.
Annoyingly committing target stuff.