config reset needed before multiple config initialization
rough cross-validation implemented #10
more suitable class API added