move real Elastic Search client into core, update factory and users
move IndexClient from model to api package