Fixed use to time package to calculate durations and milliseconds
Adding directory cleanup to tracelog