Revert "Revert "Get conf params from dir(Config)""

This reverts commit b912ff4154f358bb1a02c5c1e3ee090720fd9fc1.
Get config params from Config class