passing configlocator do custom configuration factory