added config file support

Change-Id: I1960f9e771f89d3fdb06cda07e61f971c91a79f9