add Util class
fix Makefile
fix IORedirection