Refactoring. Moving dead reckoning into its own node module.