Handled cooltime

Added cooltime class