Make gateway faster

Index the coordinator collection on an enum rather than a string