Add methods for pausing and resuming
... Plus an internal callback list after initialization
Add a method to set the timescale
Remove unused logs, add some comments and automated tests
Use faster algorithms to sort and find arrays