Implement speed calculator.
Design changes.