init config fetching refactoring, init arg parse refactoring