thesis code and writing repo