Msc thesis source code