Indexing and state DBs working well. WIP for the events detection