doc fix/update package names
tidy up timeToMs and make it more readable