Create utility.h

log and exception process