clean up console app(merge two path into one)
Merge pull request #879 from ruil2/enc_quant_v1.0

clean up console app(merge two path into one)