Add config search

Move each index type to it's own model