indexing: initiliaze class indexes in init_app
 (required in tests; todo: maintain class indexes in app extensions, not in service itself)