1. Generates the service manager