Make mygmm a module