Explain the difference between the API contract, its implementation and runtime aspects including actual data/service exposed. Include diagram.