Added Makefile
Use mim in tests
Add TG-related stuff to gitignore
Add run target to Makefile