initial draft commit of updates that allow time.time() to be mocked

This also reverts datetime.datetime back to its original form after a stop.

Issue however with the decorator test. for now have commented this out. Will see if creator
has any ideas on how to get around this?