Made some change on api to allow creating a new external index engine