Change setting file from yaml to py
Add get_withholding_tax method, and refactor some codes