Initialize two classes required for the homework

Signed-off-by: Tianyu Ge <tianyu@vt.edu>