Finished to implement conf, and written wain...

function. Main only prints command line. Exec is next step.