Remove debug output
Add service to define collections with indexes
Formatting