Reworked database/search config, added database/search settings pages. Also reworked how template API loading works.