Add mygmm as a submodule. Adjust the code