Adding original thesis code to github repo.