create a Configure class

refactor all the conf parameter to this class