Enh : refactoring mongo specific part
Fix : update mongo function
Enh : use set from redis, Add: Mapping for instance_name service