Add sharedData service to store the shared data.