Thesis Codes Cleaning