Source code for Dissertation