Masters Thesis Code