second commit

partially add config features. please notice we have lab2.yaml now. When
launching the program, please use this file as a arguement.