New time management

Better time management class for better logging