Thesis related code and papers