Updates to leap server + integration

- Smoother working
- Speed implementation
- Duration implementation