TODO, conf example
create readConfig, fit smc to readConfig and conf example