add graph and text_tool head file and modify os::lsdir,
add time stamp to log file name
do some modifies