Adding the CRUD operations for the distance objects as a example.