Code base for CS313 course 2014