The service api defines the communication between the main service and all other packages that wan't to communicate with it.