Added json config and scheduler to use json file which is later on converted to distionary