1.remove mod file 2. add mod generation to Makefile