Introduce qi service for internal search for better stats. Cleaning.