Added batch for indexing and update content_types.
Work only with ine content_type - will be fixed, this commit is a backup for feature refactoring.