Generated main service