added microseconds function and config RANDOM_SEED to set random seed to microseconds time