Contains the main REST API.