Implement class Locator() with cache.

This is a part of work for decoupling Logger from Service code base,
because now Service cann't use logger for debugging itself.