Start of the service class for the enpoints