adding log and time writer code
adding log,util,common code.