Clean up and remove ServiceManager class.