dissertation - convert main module to run meta-optimization