cleanup channels, create indexes on mongo collections