added trace-replayer main.cpp