Extracted loading config codes from Rbtclk to ConfigLoader.