added Makefile for ms, stats, sample_stats